//
//  BLogin.h
//  car
//
//  Created by chenxu on 4/14/15.
//  Copyright (c) 2015 chenxu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Company.h"
@interface BLogin : NSObject

@property (readwrite, nonatomic, strong) NSString *username, *password;

+ (BOOL) isLogin;
+ (void) doLogin:(NSDictionary *)loginData;
+ (void) doLogout;
+ (Company *)curCompany;

- (NSDictionary*)toLoginParams;
@end
